package com.hut.oa.model.dao.task;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.Param;

import com.hut.oa.model.bean.AddressBook;
import com.hut.oa.model.bean.TaskFeedback;
import com.hut.oa.model.bean.TaskManage;
import com.hut.oa.model.bean.User;

public interface TaskfeedbackDao extends PagingAndSortingRepository<TaskFeedback, Long>{
	
	@Query("update TaskFeedback tf set tf.status=:status  where tf.tfId=:taskid")
	@Modifying
	int updatestatus(@Param("status")Long status,@Param("taskid")Long taskid);
	
	
}
